package za.co.dylanjaneke.airdownloader.model
{
	/**
	 * Author: Dylan Janeke.
	 */
	[Bindable]
	[Name("homeScreenPM")]
	public class HomeScreenPM
	{
		public var openView:String=WEEK;
		
		public static const WEEK:String = "week";
		public static const DAY:String = "day";
		
		public static function getInstance():HomeScreenPM
		{
			return ContextUtil.getObject("homeScreenPM") as HomeScreenPM;
		}
		
		public function switchView(str:String): void
		{
			openView= str;
		}
	}
}